<h1>Crm newsletters List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Titulo</th>
      <th>Autor</th>
      <th>Descripcion</th>
      <th>Newsletter</th>
      <th>Fecha creacion</th>
      <th>Fecha lanzamiento</th>
      <th>Empresa</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($emergentesletters as $emergentesletter): ?>
    <tr>
      <td><a href="<?php echo url_for('newsletter/show?id='.$emergentesletter->getId()) ?>"><?php echo $emergentesletter->getId() ?></a></td>
      <td><?php echo $emergentesletter->getTitulo() ?></td>
      <td><?php echo $emergentesletter->getAutorId() ?></td>
      <td><?php echo $emergentesletter->getDescripcion() ?></td>
      <td><?php echo $emergentesletter->getNewsletter() ?></td>
      <td><?php echo $emergentesletter->getFechaCreacion() ?></td>
      <td><?php echo $emergentesletter->getFechaLanzamiento() ?></td>
      <td><?php echo $emergentesletter->getEmpresaId() ?></td>
      <td><?php echo $emergentesletter->getCreatedAt() ?></td>
      <td><?php echo $emergentesletter->getUpdatedAt() ?></td>
      <td><?php echo $emergentesletter->getValidatedAt() ?></td>
      <td><?php echo $emergentesletter->getIsValidated() ?></td>
      <td><?php echo $emergentesletter->getRemovedAt() ?></td>
      <td><?php echo $emergentesletter->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('newsletter/new') ?>">New</a>
